package com.comleader.uap.mapper;

import java.util.List;

import com.comleader.uap.pojo.dto.FiveEffectStatDTO;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.comleader.uap.pojo.dto.OverrallIndicatorDTO;
import com.comleader.uap.pojo.entity.InternetSms;
import com.comleader.uap.pojo.query.FiveEffectQuery;
import com.comleader.uap.pojo.query.InternetSmsQuery;
import com.comleader.uap.pojo.vo.InternetSmsDetailVO;
import com.comleader.uap.pojo.vo.InternetSmsListVO;

/**
 * @author lianxinjing
 * @description 针对表【api_internet_sms(上网和短信业务保护撤销表)】的数据库操作Mapper
 * @createDate 2024-11-23 16:03:24
 * @Entity com.comleader.uap.pojo.entity.InternetSms
 */
public interface InternetSmsMapper extends BaseMapper<InternetSms> {

    List<InternetSmsListVO> selectList(InternetSmsQuery query);

    List<InternetSmsDetailVO.PushAudit> selectListByCommandIdAndNumber(@Param("commandId") String commandId, @Param("calledNumber") String calledNumber);

    OverrallIndicatorDTO.InternetSms countByProtectTypeAndDataType(FiveEffectQuery query);

    List<FiveEffectStatDTO.InternetSms> countByDimension(FiveEffectQuery query);

}
